package com.jiangnan.warehouse_management.dto.request;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import javax.swing.*;

@Data
public class CreateWarehouse {
    @NotBlank(message = "仓库名称不能为空")
    private String warehouseName;
    @NotBlank(message = "位置不能为空")
    private String location;
    @NotNull(message = "容量不能为空")
    private Double capacity;
    private Boolean status = true;
    //默认由一号manage管理
    private Integer managerId = 1;
}
